package com.lyj.io.module.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;
import java.util.List;

/**
 * 权限dto
 * @author: 李亚杰
 * @version: 1.0
 * @date: 2021/9/13 16:52
 */
@ApiModel("菜单授权接口PermissionDto")
@Validated
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PermissionDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "权限", example = "", position = 0)
    private List<String> permission;

    @ApiModelProperty(value = "角色ID", example = "", position = 1)
    private String roleId;

    @ApiModelProperty(value = "创建者ID", example = "", position = 2)
    private Long creater;

    @ApiModelProperty(value = "备注", example = "", position = 3)
    private String remark;
}
